﻿using AutoMapper;
using BCDto.TMS.MoveHouseConfig.MoveHouseConfig;
using BCDto.TMS.MoveHouseConfig.MoveHouseServiceConfig;
using BCDto.TMS.MoveHouseConfig.MoveHouseServicePriceConfig;
using BCDto.TMS.MoveHouseConfig.MoveHouseSpecificationConfig;
using BCDto.TMS.MoveHouseConfig.MoveHouseSpecificationConfigOverWrite;
using BCDto.TMS.MoveHouseConfig.MoveHouseSpecificationServiceConfig;
using BCDto.TMS.MoveHouseConfig.MoveHouseSpecificationServiceConfigOverWrite;
using BCEntity.TMS.MoveHouseConfig.MoveHouseConfig;
using BCEntity.TMS.MoveHouseConfig.MoveHouseServiceConfig;
using BCEntity.TMS.MoveHouseConfig.MoveHouseSpecificationConfig;
using BCEntity.TMS.MoveHouseConfig.MoveHouseSpecificationConfigOverWrite;
using BCEntity.TMS.MoveHouseConfig.MoveHouseSpecificationServiceConfig;
using BCEntity.TMS.MoveHouseConfig.MoveHouseSpecificationServiceConfigOverWrite;

namespace BCService.MapperProfiles.TMS.MoveHouseConfig
{
    public class MoveHouseConfigProfile : Profile
    {
        public MoveHouseConfigProfile()
        {
            CreateMap<MoveHouseConfigDto, MoveHouseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseConfigEntity, MoveHouseConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            CreateMap<MoveHouseConfigEntity, MoveHouseConfigViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseConfigViewDto, MoveHouseConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();


            CreateMap<MoveHouseSpecificationConfigEntity, MoveHouseSpecificationConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseSpecificationConfigDto, MoveHouseSpecificationConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            CreateMap<MoveHouseSpecificationServiceConfigEntity, MoveHouseSpecificationServiceConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseSpecificationServiceConfigDto, MoveHouseSpecificationServiceConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            CreateMap<MoveHouseSpecificationServiceConfigViewEntity, MoveHouseSpecificationServiceConfigViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseSpecificationServiceConfigViewDto, MoveHouseSpecificationServiceConfigViewEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();




            CreateMap<MoveHouseSpecificationConfigOverWriteDto, MoveHouseSpecificationConfigOverWriteEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseSpecificationConfigOverWriteEntity, MoveHouseSpecificationConfigOverWriteDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            CreateMap<MoveHouseSpecificationServiceConfigOverWriteDto, MoveHouseSpecificationServiceConfigOverWriteEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseSpecificationServiceConfigOverWriteEntity, MoveHouseSpecificationServiceConfigOverWriteDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            CreateMap<MoveHouseSpecificationServiceConfigOverWriteViewDto, MoveHouseSpecificationServiceConfigOverWriteViewEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseSpecificationServiceConfigOverWriteViewEntity, MoveHouseSpecificationServiceConfigOverWriteViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();


            CreateMap<MoveHouseServiceConfigDto, MoveHouseServiceConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseServiceConfigEntity, MoveHouseServiceConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

            CreateMap<MoveHouseMinPriceEntity, MoveHouseMinPriceDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<MoveHouseMinPriceDto, MoveHouseMinPriceEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
